﻿namespace mmImdbProvider
{
    public class MovieUtils
    {
        public static string GetSearchUrl(string strSearch)
        {
            return string.Format("http://www.imdb.com/search/title?title={0}&title_type=tv_series", strSearch);
        }

        public static string GetMovieUrl(string movieId)
        {
            return string.Format("http://www.imdb.com/title/tt{0}/", movieId);
        }

        public static string GetEpisodesUrl(string movieId)
        {
            return string.Format("{0}episodes", GetMovieUrl(movieId));
        }
    }
}
